#添加成员页面
#点击手动输入添加
from selenium.webdriver.common.by import By

from po.basepage import BasePage
from po.edit_member_page import EditMemberPage


class AddMemberPage(BasePage):
    def click_manual(self):
        self.find_and_click(By.XPATH,"//*[@text='手动输入添加']")
        return EditMemberPage(self.driver)

    def get_toast(self):
        ele = self.find(By.XPATH,"//*[@text='添加成功']")
        return ele